package com.yunnuo.system.dict.entity;


import com.yunnuo.system.comm.entity.IdEntity;

import javax.persistence.*;
import java.util.Set;

/**
 * 数据字典类型表
 * Created by 魏洪福(15064000912@163.com) on  2018/5/25.
 */
@Entity
@Table(name="SYS_DICT_TYPE")
public class DictType  extends IdEntity {

    // 字典名称
    private String dictName;
    //  字典类型
    private String dictType;
    // 状态（0正常 1停用）
    private int status;
    // 备注
    private String  remark;


    public String getDictName()
    {
        return dictName;
    }

    public void setDictName(String dictName)
    {
        this.dictName = dictName;
    }

    public String getDictType()
    {
        return dictType;
    }

    public void setDictType(String dictType)
    {
        this.dictType = dictType;
    }

    public int getStatus()
    {
        return status;
    }

    public void setStatus(int status)
    {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "DictType{" +
                "dictName='" + dictName +
                ", dictType='" + dictType +
                ", status=" + status +
                ", remark='" + remark +
                '}';
    }
}
